<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="bean.fankuidata"  %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'fankuipage.jsp' starting page</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style type="text/css">h2{text-align: center;}tr{border:1px solid;}
td{width:500px;height:100px;font-family:黑体;border:1px solid;text-align:center;font-size:25px;}
div{margin-left:auto;margin-right:auto;width:1000px;height:500px;}
button{height:100px;font-size:30px;font-family:黑体;margin-top:20px;}
table{border:1px solid;margin-left:auto;margin-right:auto;}
</style>
  </head>
  
  <body>
    <table>
    <tr><td>楼号</td><td>房号</td><td>业主</td><td>反馈日期</td><td>负责人</td><td>状态</td><td>要求反馈</td></tr>
    <% 
        ArrayList list = (ArrayList) request.getAttribute("list");
        for(int i=0;i<list.size();i++){
        fankuidata fd =(fankuidata) list.get(i);
        out.print("<tr><td>"+fd.getLouhao()+"</td>"+"<td>"+fd.getFanghao()+"</td><td>"+fd.getYezhu()+"</td><td>"+fd.getRiqi()+"</td><td>"+fd.getFuzeren()+"</td><td>"+fd.getZhuantai()+"</td><td>"+fd.getYaoqiu()+"</td></tr>");
        
        }
        out.print("<tr><td>总要求:"+list.size()+"</td></tr>");
    %>
    <tr><td><a href="alogin?aid=<%=request.getAttribute("id") %>&apsw=<%=request.getAttribute("psw") %>">回到首页</a></td></tr>
    </table>
  </body>
</html>
